const path = require("path");

// 配置vue.config.js
module.exports={
    publicPath: "./",
    outputDir: "dist",
    devServer: {
        disableHostCheck: false,
        port: 3000,  //端口号
        https: false,
        hotOnly: false, 
        proxy: {
            "/api": {
                target: "http://localhost:613",
                changeOrigin: true,
                pathRewrite: {
                    "^/api": "/"
                }
            }
        }
    },  
}